package com.itany.shop.entity;

/**
 * @author 黄衡熙
 * @version 1.0
 */
public class Order {
    private Integer id;
    private String no;
    private Double price;
    private User user;

    public Order() {
    }

    public Order(String no, Double price, User user) {
        this.no = no;
        this.price = price;
        this.user = user;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getNo() {
        return no;
    }

    public void setNo(String no) {
        this.no = no;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }
}
